#include <stdio.h>

int main() {
  char checker_board[8][8];

  for (int i = 0; i < 8; i++) {
    for (int j = 0; j < 8; j++) {
      if ((i + j) % 2 == 0)
        checker_board[i][j] = 'B';
      else
        checker_board[i][j] = 'R';
    }
  }

  for (int i = 0; i < 8; i++) {
    for (int j = 0; j < 8; j++) {
      printf("%3c", checker_board[i][j]);
    }
    printf("\n");
  }

  return 0;
}